import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import VueVirtualScroller from "vue-virtual-scroller";
import "vue-virtual-scroller/dist/vue-virtual-scroller.css";

// import "lib-flexible";
// import "amfe-flexible";

import echarts from "echarts";

import directives from "@/directives";
import "vue-json-viewer/style.css";
import JsonViewer from "vue-json-viewer";
import { UTable } from "umy-ui";

import "tailwindcss/tailwind.css";

Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.use(UTable);
Vue.use(ElementUI);
Vue.use(VueVirtualScroller);
Vue.use(directives);
Vue.use(JsonViewer);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
